package tw.com.softleader.spring.dao;

import javax.annotation.PostConstruct;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.InitializingBean;

public class InitDao implements InitializingBean{

	private Logger log = LoggerFactory.getLogger(this.getClass());
	
	@Override
	public void afterPropertiesSet() throws Exception {
		log.debug("Init for Dao");
	}

	public void initMethod(){
		log.debug("InitMethod for Dao");
	}
	
	@PostConstruct
	public void initToRun(){
		log.debug("InitToRun for Dao");
	}
	
}
